<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2023/8/29
 * Time: 14:18
 */

namespace app\controller\index\example;

use app\controller\index\BaseController;
use app\exception\IndexException;
use app\logic\index\example\ExampleLogic;
use support\Request;
use support\Response;

class IndexController extends BaseController
{
    public function getList(Request $request): Response
    {
        $param= [];
        $data = ExampleLogic::getInstance()->index($param);

        return $this->endSuccess($data);
    }
}